package com.secondary.dao.user;

import com.secondary.pojos.User;

public interface UserDao {
	public User register(User user);
	public User login(String username,String pwd);
	public void updateUserLogInfo(User user,String ip);
	public void updateUserInfo(User user);
	public void updateUserAvatar(User user);
	public User findUserBuId(int id);
	public void updateUserPassWord(int id,String newPassword );
	public String findUserPassWordById(int id);
	public boolean findUserAccount(String userAccount);
}
